package com.msf.frametest.utils;

import javax.swing.*;
import java.awt.event.ActionListener;

public class UIUtil {

    public JButton createButton(String text, ActionListener listener) {
        JButton button = new JButton(text);
        button.addActionListener(listener);
        return button;
    }
}
